export default {
  path: '/chargmanage',
  name: 'chargmanage',
  icon: 'money-collect',
  authority: ['ns:antd:charg'],
  routes: [
    {
      path: '/chargmanage/oncechargens',
      name: 'oncechargens',
      authority: ['ns:charg:once'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/chargmanage/oncechargens',
          redirect: '/chargmanage/oncechargens/index',
        },
        {
          path: '/chargmanage/oncechargens/index',
          component: './ChargeManage/OnceChargeNs/Index',
        },
        {
          path: '/chargmanage/oncechargens/add',
          name: 'add',
          component: './ChargeManage/OnceChargeNs/CustomerAdd',
        },
        {
          path: '/chargmanage/oncechargens/update',
          name: 'update',
          component: './ChargeManage/OnceChargeNs/CustomerUpdate',
        },
        {
          path: '/chargmanage/oncechargens/detail',
          name: 'detail',
          component: './ChargeManage/OnceChargeNs/CustomerDetail',
        },
      ],
    },
    {
      path: '/chargmanage/chargebillns',
      name: 'chargebillns',
      authority: ['ns:charg:chargebill'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/chargmanage/chargebillns',
          redirect: '/chargmanage/chargebillns/index',
        },
        {
          path: '/chargmanage/chargebillns/index',
          component: './ChargeManage/ChargeBillNs/Index',
        },
        {
          path: '/chargmanage/chargebillns/detail',
          name: 'detail',
          component: './ChargeManage/ChargeBillNs/Detail',
        },
        {
          path: '/chargmanage/chargebillns/tobill',
          name: 'tobill',
          component: './ChargeManage/ChargeBillNs/ToBill',
        },
        {
          path: '/chargmanage/chargebillns/split',
          name: 'split',
          component: './ChargeManage/ChargeBillNs/Split',
        },
        {
          path: '/chargmanage/chargebillns/splitbyemp',
          name: 'splitbyemp',
          component: './ChargeManage/ChargeBillNs/SplitByEmp',
        },
        {
          path: '/chargmanage/chargebillns/finish',
          name: 'finish',
          component: './ChargeManage/ChargeBillNs/Finish',
        },
      ],
    },
  ],
};
